package com.ccys.cms.service.userManagement;


import com.ccys.common.vo.ResponseResult;
import com.ccys.db.dto.userManagement.TblMemberDTO;
import com.ccys.db.entity.TblBookingBenefitConsult;
import com.ccys.db.entity.TblMember;
import com.ccys.db.rely.service.BaseService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * tbl_member管理
 */
public interface TblMemberWebService extends BaseService<TblMember> {


    /**
     * 查询列表
     *
     * @param request
     * @param response
     * @param dto
     * @return
     */
    public ResponseResult listObjectsCms(HttpServletRequest request, HttpServletResponse response, TblMemberDTO dto);

    /**
     * 添加修改
     * @param entity
     * @return
     */
    public ResponseResult change(TblMember entity);

    public String getCode();

    /**
     * 删除
     * @param dto
     * @return
     */
    public ResponseResult delete(TblMember dto);


       /**
        * @description 查询详情
        * @date     2023/12/20
        * @author   cloud fly
        */
    ResponseResult getMemberDetail(HttpServletRequest request, HttpServletResponse response, TblMemberDTO dto);
   /**
    * @description 获取可选择用户列表
    * @date     2023/12/23
    * @author   cloud fly
    */
    ResponseResult listSelect(HttpServletRequest request, HttpServletResponse response, TblMemberDTO dto);

    /**
     * 病人info里面的Consultations的Adjust修改
     *
     * @param dto
     * @return
     */
    ResponseResult updatePatientInfoConsultationsAdjust(TblBookingBenefitConsult dto);
}